package com.itrip.itripauth.service.impl;

import com.itrip.itripauth.entity.AreaDic;
import com.itrip.itripauth.entity.HotelTradingArea;
import com.itrip.itripauth.mapper.HotelTradingAreaMapper;
import com.itrip.itripauth.service.HotelTradingAreaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 四阶段项目二组
 * @since 2020-02-25
 */
@Service
public class HotelTradingAreaServiceImpl extends ServiceImpl<HotelTradingAreaMapper, HotelTradingArea> implements HotelTradingAreaService {
@Autowired
private  HotelTradingAreaMapper hotelTradingAreaMapper;
    @Override
    public List<AreaDic> areaDicList(Integer hotelId) {
        return hotelTradingAreaMapper.areaDicList(hotelId);
    }
}
